//
//  HSYAlertView.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/4/4.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HSYAlertView : UIView

@property (nonatomic, assign, readwrite) BOOL isDisplay;                                        //是否显示,默认为放大,分为是（放大或淡入），否为（缩小或淡出）

@property (nonatomic, strong) UIFont *titleFont;                                                //title的文字大小，默认16
@property (nonatomic, strong) UIColor *titleColor;                                              //title的文字颜色，默认黑色

@property (nonatomic, strong) UIFont *contentFont;                                              //content的字体大小，默认15
@property (nonatomic, strong) UIColor *contentColor;                                            //content的字体颜色，默认黑色

@property (nonatomic, assign, readwrite) kCustomAlertViewAnimationType animationType;           //只写，动画类型

@property (nonatomic, strong, readonly) UIView *backgroundView;                                 //弹框
@property (nonatomic, strong, readonly) UIImageView *backgroundImage;                           //弹框背景图

@property (nonatomic, copy) void(^selectButton)(HSYAlertView *alertView, NSInteger index);      //点击到任意按钮的block回调

@end


@interface HSYAlertView (Show)

- (HSYAlertView *)showAlertViewForTitle:(NSString *)title
                                message:(NSString *)message
                  withCancelButtonTitle:(NSString *)cancelButtonTitle
                      otherButtonTitles:(NSString *)otherButtonTitles;

@end